<?php
class Clone_Image
{
	private $_clone;
	
	public function __construct(Mivec_Element_Array $_productid,$_dbname)
	{
		Zend_Loader::loadClass('Mivec_Clone_Images');
		
		$this->_clone = new Mivec_Clone_Images($_productid,$_dbname);
	}
	
	public function _cloneImage()
	{
		$this->_clone->figureOut()
			->destination()
			->destThumbnail()
			->cloneToSite()
			->destroy();
			
			//$this->_clone->destroy();
			
		return $this;
	}
}